<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width-device-width, initial-scale=1.0" />
<link rel="stylesheet" href="https://cdn.bootcss.com/font-awesome/5.11.2/css/all.css" />
<link rel="stylesheet" href="css/recruit.css" />
<link rel="shortcut icon" href="ico/logo.ico"/>
<title>伴美科技-上传文件</title>
</head>

<body>
<?php  include 'action/session_check.php'; //登录判断  ?>
<!--定义头部区域，放导航和logo -->
<header>
<div class="logo"><img src="ico/logo.png" alt=""/>伴美科技</div>
<nav>
<a href="main.php#home">首页</a>
<a href="main.php#about-us">关于我们</a>
<a href="main.php#showcases">自营产品</a>
<a href="main.php#service">招聘信息</a>
<a href="main.php#team-intro">商务合作</a>
<a href="main.php#company-activities">公司动态</a>
	<!-- 获取用户头像开始 -->
<a>	
<form method="post" action="">
    <?php
	require_once("conn/conn_db.php");
	$sql = "select * from  user_info where u_name ='".$_SESSION[user]."'";
	$result = $conn->query($sql);//执行SQL语句
    //遍历查询结果的每一行
    while($row = $result->fetch_array()){
	     ?>
	<a href="person_center.php?u_id=<?php echo $row['u_id']; ?>"><img src='../<?php echo $row['u_header'];?>' style="border-radius: 50%; width: 36px; height: 36px; position: absolute; top: 20px; right: 38px;" alt="User"></a>
	<?php 
         }
         ?>
	</form>
	</a>
	<!-- 获取用户头像结束 -->
</nav>
	
<!--定义折叠按钮 屏幕缩小到 -->
<div class="burger">
    <div class="burger-line1"></div>
	<div class="burger-line2"></div>
	<div class="burger-line3"></div>
</div>	
</header>
	
<div class="container_box">
<form action="action/upload_do.php" method="post" enctype="multipart/form-data">
<table cellspacing="10px">
	
	<tr>
	<td colspan="2" align="center"><h2 style="font-size: 30px; margin-top: 100px">合作招商</h2></td>
	</tr>
	
	<tr>
	<td colspan="2" align="center"><font color="red">*此项目需下载申请表填写后!压缩!上传</font></td>
	</tr>
  <tr>
	  <td><p style="font-size: 18px"><font color="red">*</font>合作项目：</p></td>
	<td>
	  <select name="txt_name" style="width: 200px; font-size: 18px;">
		<option value="团队长">团队长</option>
		<option value="供应商">供应商</option>
		</select> 
	  </td>
	</tr>
  <tr>
     <td><p style="font-size: 18px"><font color="red">*</font>上传申请表：</p></td>
     <td><input type="file" name="txt_file"/></td>
  </tr>
  <tr>
	  <td colspan="2" align="right">
        <input type="submit" value="提交" style=" height: 30px;
		width: 80px; border-radius: 5px; background: #f79f1f; color: white; border: 0px;" />
     </td>
  </tr>
</table>
</form>
	</div>
	
</body>
</html>